package org.example.salarysystem.pojo;




public class Position {
    private Integer positionId;   // 职务编号
    private String name;          // 职务名称（如辅导员、教研组长）
    private Integer salaryLevel;  // 薪资等级

    public Position() {
    }

    public Position(Integer positionId, String name, Integer salaryLevel) {
        this.positionId = positionId;
        this.name = name;
        this.salaryLevel = salaryLevel;
    }

    /**
     * 获取
     * @return positionId
     */
    public Integer getPositionId() {
        return positionId;
    }

    /**
     * 设置
     * @param positionId
     */
    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return salaryLevel
     */
    public Integer getSalaryLevel() {
        return salaryLevel;
    }

    /**
     * 设置
     * @param salaryLevel
     */
    public void setSalaryLevel(Integer salaryLevel) {
        this.salaryLevel = salaryLevel;
    }

    public String toString() {
        return "Position{positionId = " + positionId + ", name = " + name + ", salaryLevel = " + salaryLevel + "}";
    }
}
